import {
    CHANGE_NAME,
    CHANGE_AGE
} from './constants'
const changeNameAction=(name)=>({ type: CHANGE_NAME,name})
const changeAgeAction=(age)=>({type: CHANGE_AGE, age})

module.exports = {
    changeNameAction,
    changeAgeAction
}